import Vue from 'vue'
import Router from 'vue-router'
import todoList from '@/components/todoList'
import Area from '@/components/Area'
import Login from '@/components/Login'

Vue.use(Router)

export default new Router({
  routes: [{
    path: '/',
    name: 'todoList',
    component: todoList
  },
  {
    path: '/Area',
    name: 'Area',
    component: Area
  },
  {
    path: '/Login',
    name: 'Login',
    component: Login
  }]
})
